package com.anbow.courseware.entity.DO;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Data;

/**
 * @author zhaoYuFei
 */
@Data
public class BaseDo implements Serializable {
    @ApiModelProperty("id")
    private Integer id;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private LocalDate createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty("更新时间")
    private LocalDate updateTime;
    @ApiModelProperty("是否删除  0为删除，1为存在")
    private String isDeleted;
}
